<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title><?php echo C('SERVER_NAME');?></title>
	<link rel="stylesheet" type="text/css" href="/Public/admin/css/style.css">
</head>
<body>
	<div class="content p50">
		<div class="content-title">
			<h2>新闻源列表</h2>
			<div class="content-right">
			<form action="/Admin/News/sourceList.html" method="get">
				<div class="search fl"><input type="text" name="keyword" value="<?php echo ($keyword); ?>" placeholder="搜索"></div>
				<input type="submit" value="" class="search-btn fl">
				
			</form>
			</div>
		</div>
		<div class="p80">
			<table class="table">
				<thead>
					<tr>
						<th>序号</th>
						<th>新闻源名</th>
						<th>价格</th>
						<th>备注</th>
						<th>排序</th>
						<th>更新时间</th>
						<th>网站网址</th>
						<th>操作</th>
					</tr>
				</thead>
				<tbody>
					<?php if(is_array($comList)): $i = 0; $__LIST__ = $comList;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr>
						<td><?php echo ($i); ?></td>
						<td><?php echo ($vo["news_name"]); ?></td>
						<td><?php echo ($vo["news_price"]); ?></td>
						<td><?php echo ($vo["news_note"]); ?></td>
						<td><?php echo ($vo["news_sort"]); ?></td>
						<td><?php echo ($vo["add_time"]); ?></td>
						<td><?php echo ($vo["news_url"]); ?></td>
						<td><a href="javascript:;">删除</a>|<a href="/Admin/News/sourceChange/id/<?php echo ($vo["id"]); ?>">修改</a></td>
					</tr><?php endforeach; endif; else: echo "" ;endif; ?>
			
				</tbody>
			</table>
			<div class="add-box"><a href="<?php echo U('News/sourceAdd');?>" class="add">新增</a></div>
			<div class="page">
				<?php echo ($page); ?>
			</div>
		</div>	

	</div>

	<script type="text/javascript" src="/Public/js/jquery-1.7.min.js"></script>
	<script type="text/javascript" src="/Public/admin/js/page.js"></script>
</body>
</html>